public class OddEven {
    public static void main(String[] args) {
        int num = 4;
        if (num % 2 == 0) {
            System.out.println(num + " 是偶数");
        } else {
            System.out.println(num + " 是奇数");
        }
    }
}

